package com.xtaller.lazy.lib.kit;

import org.springframework.web.method.HandlerMethod;

import java.lang.reflect.Method;

/**
 * @version V1.0
 * @author: Taller
 * @date: 2019-04-13
 * @Description: 注解工具
 */
public class InterceptorUtil {
    public static Method getMethod(Object handler) {
        HandlerMethod handlerMethod = (HandlerMethod)handler;
        return handlerMethod.getMethod();
    }
}
